define(function(){
	return {
		transfer:'<div class="translation">\
                        <input id="Js-translateText" type="text" class="form-control" placeholder="请输入要翻译的内容">\
                        <input type="button" class="btn btn-primary" id="Js-translateBtn" value="翻译">\
                    </div>\
                    <div id="Js-result" class="translationContent"></div>',
        ch_result:'<%if(dict_result.simple_means){%>\
        <ul class="brief">\
            <%if(dict_result.zdict){%>\
                <li><strong><%dict_result.zdict.word%></strong> <span>[<%dict_result.zdict.simple.means[0].pinyin%>]</span></li>\
                <li><span><%dict_result.zdict.simple.means[0].exp[0].des[0].main%></span></li>\
            <%}else{%>\
                <li><strong><%dict_result.simple_means.word_name%></strong></li>\
            <%}%>\
            <%if(dict_result.net_means){%>\
                <li><span class="gray">网络;&nbsp;&nbsp;</span>\
                    <%for(var k=0;k<dict_result.net_means.length;k++){%>\
                        <%dict_result.net_means[k].means%>;&nbsp;&nbsp;\
                    <%}%>\
                </li>\
            <%}%>\
            <li><span>\
                <%for(var i=0;i<dict_result.simple_means.symbols[0].parts[0].means.length;i++){%>\
                    <%dict_result.simple_means.symbols[0].parts[0].means[i].word_mean%>;&nbsp;&nbsp;\
                <%}%>\
            </span></li>\
        </ul>\
        <%if(dict_result.zdict){%>\
            <ul class="detail">\
                <%for(var i=0;i<dict_result.zdict.detail.means[0].exp.length;i++){%>\
                    <li>\
                        <strong><%dict_result.zdict.detail.means[0].exp[i].pos%></strong>\
                        <ul class="detail-item">\
                        <%for(var j=0;j<dict_result.zdict.detail.means[0].exp[i].des.length;j++){%>\
                            <li><%dict_result.zdict.detail.means[0].exp[i].des[j].main%></li>\
                        <%}%>\
                        </ul>\
                    </li>\
                <%}%>\
            <%}%>\
        </ul>\
        <%} else{%>\
            <ul class="brief">\
                <li><%trans_result.data[0].dst%></li>\
            </ul>\
        <%}%>',
        en_result:'<%if(dict_result.simple_means){%>\
            <ul class="brief">\
            <li><strong><%dict_result.simple_means.word_name%></strong></li>\
            <li>\
                <span class="spell">[英];&nbsp;</span><%dict_result.simple_means.symbols[0].ph_en%>;&nbsp;&nbsp;\
                <span class="spell">[美];&nbsp;</span><%dict_result.simple_means.symbols[0].ph_am%>\
            </li>\
            <%for(var i=0;i<dict_result.simple_means.symbols[0].parts.length;i++){%>\
                <li>\
                    <span class="gray"><%dict_result.simple_means.symbols[0].parts[i].part%></span>\
                    <%for(var j=0;j<dict_result.simple_means.symbols[0].parts[i].means.length;j++){%>\
                        <%dict_result.simple_means.symbols[0].parts[i].means[j]%>;\
                    <%}%>\
                </li>\
            <%}%>\
            <%if(dict_result.net_means){%>\
                <li><span class="gray">网络;&nbsp;&nbsp;</span>\
                    <%for(var k=0;k<dict_result.net_means.length;k++){%>\
                        <%dict_result.net_means[k].means%>;&nbsp;&nbsp;\
                    <%}%>\
                </li>\
            <%}%>\
        </ul>\
        <%} else{%>\
            <ul class="brief">\
                <li><%trans_result.data[0].dst%></li>\
            </ul>\
        <%}%>',
	}
});